package com.tj.bo.user.client;

import com.tj.bo.user.client.vo.output.UserActivity;

import java.util.List;

/**
 * @program: binary-option
 * @description
 * @author: frank
 * @create: 2020-08-28 16:05
 **/
public interface UserActivityService {

    /**
     * 已读活动/弹窗
     * @param id
     * @param userCode
     * @return
     */
    Boolean readActivity(Long id, String userCode);

    /**
     * 获取活动/弹窗列表
     * @param userCode
     * @param type
     * @return
     */
    List<UserActivity> queryActivityByUserCode(String userCode, Integer type);
}
